package com.controller;

import com.common.entity.R;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import javax.persistence.EntityManager;

/**
 * 生成试卷的抽题
 */
@Transactional(rollbackFor = Exception.class)
@RestController
@RequestMapping("selectQuestions")
public class SelectQuestions {

    @Resource
    private EntityManager entityManager;

    @PostMapping("generateExaminationPaper")
    public R selectQuestions(){
        return R.ok();
    }
}
